package com.bwie.mapper;

import com.bwie.domain.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: lrz
 * @Date: 2024/11/20 08:39
 * @Description:
 **/
@Mapper
public interface BookMapper {
    List<Book> list();

    int add(Book book);

    int update(Book book);

    int delete(Integer id);
}
